-- GENERATED SPELL FOR [Sarhule the Risen] --


function spell0_30307(pUnit, Event) --@Frost Armor,Self--
pUnit:FullCastSpellOnTarget(12544,pUnit)
pUnit:RegisterEvent('Sorts_30307', 0, 1)
end

function Sorts_30307(pUnit, Event)
local choix_sorts_30307 = math.random(0, 0)
if choix_sorts_30307 == 0 then
pUnit:RegisterEvent('spell0_30307', 1, 1)
end
end

function mob30307_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30307', math.random(1500, 3000), 1)
end

function mob30307_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30307_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30307_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30307, 1, 'mob30307_Action')
RegisterUnitEvent(30307, 2, 'mob30307_Leave')
RegisterUnitEvent(30307, 3, 'mob30307_Kill')
RegisterUnitEvent(30307, 4, 'mob30307_Die')
